func reflect.haveIdenticalType
10 uses
reflect (current package)
type.go#L1620: return V.ChanDir() == BothDir && (T.Name() == "" || V.Name() == "") && haveIdenticalType(T.Elem(), V.Elem(), true)
type.go#L1648: func haveIdenticalType(T, V Type, cmpTags bool) bool {
type.go#L1679: return T.Len() == V.Len() && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L1682: return V.ChanDir() == T.ChanDir() && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L1691: if !haveIdenticalType(t.In(i), v.In(i), cmpTags) {
type.go#L1696: if !haveIdenticalType(t.Out(i), v.Out(i), cmpTags) {
type.go#L1713: return haveIdenticalType(T.Key(), V.Key(), cmpTags) && haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L1716: return haveIdenticalType(T.Elem(), V.Elem(), cmpTags)
type.go#L1733: if !haveIdenticalType(tf.typ, vf.typ, cmpTags) {